Information extraction from documents with regular expression matching

ABSTRACT

Techniques are provided for enumerating regularly identifiable or stereotypical phrases that people commonly use to convey particular information, and where exactly in these phrases the particular information is to be found. In one embodiment, such phrases are referred to as “regular expressions.” Using such enumerated phrases, the invention is able to automatically identify them in an input data stream and then identify and extract the particular information associated with the phrase that is being sought, e.g., important or relevant information.

FIELD OF THE INVENTION

[0001] The present invention relates to data processing techniques and, more particularly, to techniques for providing automatic information extraction from data streams such as text and spoken documents.

BACKGROUND OF THE INVENTION

[0002] There are many situations in which it is desirable to extract key pieces of information from documents. For example, in transcribed voice mail messages, the name of the caller and any return numbers that were left are crucial for summarizing the call. Or when resumes are submitted to a company along with a cover letter, it is desirable to extract the job objective and salary requirements of the applicant, in order to determine if a suitable match exists. This invention comprises a simple, efficient, and effective way of extracting such information.

[0003] In the past, several techniques have been developed to solve the somewhat simpler problem of “named entity extraction.” In this task, the goal is to identify all occurrences of certain classes of words in a document. For example, all the person-names, city-names, dates, and times might be identified. One way of identifying such entities is to train a statistical classification system to tag each word in the document as either a “person-name,” “city-name,” “date,” “time,” or “other” word. Examples of this sort of approach are disclosed in, e.g., Ratnaprkhi, “A Maximum Entropy Part of Speech Tagger,” Conference on Empirical Methods in Natural Language Processing, University of Pennsylvania, 1996; and Brill, “Transformation-Based Error-Driven Learning and Natural Language Processing: A Case Study in Part of Speech Tagging,” Computational Linguistics, December 1995, the disclosures of which are incorporated by reference herein. While the problem of extracting key pieces of information can also be viewed as a tagging problem, in which each word is tagged as either “key information” or “irrelevant,” such a tagging approach fails to explicitly identify the portions of text that are important.

[0004] Thus, there is a need for data processing techniques which explicitly identify portions of data that are sought to be identified, rather than only implicitly identifying, or tagging, such portions of data.

SUMMARY OF THE INVENTION

[0005] The present invention provides techniques for exploiting the readily-identifiable structure of language to explicitly identify portions of data in a document that a user seeks to be identified, e.g., relevant or important information. It is to be understood that the term “document,” as used herein in accordance with the invention, is intended to broadly refer to a sequence of symbols (e.g., letters, numbers, characters, etc.), such as a data stream representative of text and/or spoken messages. However, it is to be understood that the invention applies to many input forms other than typed text or spoken messages. By way of further example only, the invention may also be applied to information extraction from data streams representing DNA (deoxyribonucleic acid) sequences, RNA (ribonucleic acid) sequences, amino-acid sequences, and audio and video sequences that are preprocessed into a discrete symbolic form.

[0006] More specifically, the present invention realizes that, in common linguistic usage, people typically convey information in highly stereotyped ways. So, for example, in a phone call, the caller is likely to identify himself in one of just a few ways, e.g., “Hi <recipient-name>, it's <caller-name>” (e.g., “Hi John, it's Bob”) or “<recipient-name>, <caller-name> here” (e.g., “John, Bob here”). Or in a cover letter, a job applicant is likely to express his interest with a phrase like “I am looking for a job in <field>” (e.g., “I am looking for a job in electrical engineering”).

[0007] In accordance with this realization, the present invention provides techniques for enumerating regularly identifiable or stereotypical phrases that people commonly use to convey particular information, and where exactly in these phrases the particular information is to be found. In one embodiment, such phrases are referred to as “regular expressions.” Using such enumerated phrases, the invention is able to automatically identify them in an input data stream and then identify and extract the particular information associated with the phrase that is being sought, e.g., important or relevant information.

[0008] This approach has several advantages over the previously mentioned tagging approach. First, the phrases are readily expressible as regular expressions, and this allows them to be stored in one of several common programming languages, e.g., as a “flex” or “perl” program. Both these languages have built-in support for regular expressions. Secondly, the use of regular-expression technology enables extremely fast pattern matching and information extraction with highly optimized standard programs. Thirdly, the phrases can be identified without the expensive and time consuming step of gathering and annotating a large “training” database. Finally, if desired, the technique can be combined with statistical based procedures, e.g., by using the phrases as features in a statistical system, or by using a statistical procedure to automatically collect a large pool of candidate phrases which can then be selected for inclusion by a human.

[0009] One skilled in the art will realize various applications for the invention. By way of example only, such enumerated phrases may be automatically identified in a transcribed voice mail message, and the important information in the message, e.g., a phone number or caller's name, may be automatically extracted and presented to the user or stored for subsequent use.

[0010] These and other objects, features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0011]FIG. 1 is a flow diagram illustrating an information extraction methodology according to an embodiment of the present invention; and

[0012]FIG. 2 is a block diagram illustrating a generalized hardware architecture of a data processing system suitable for implementing an information extraction methodology according to the present invention.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

[0013] As will be explained in detail below, the present invention provides techniques for using stereotypical phrases or “regular expressions” to identify the information-bearing portions of a document, and thereby explicitly identity the information found therein. Regular expressions, as have been discussed in Aho et al., “Compilers: Principles, Techniques, and Tools,” Addison-Wesley, 1985, the disclosure of which is incorporated by reference herein, comprise symbolic strings, typically word sequences, that can be constructed by the basic operations of “and” and “or” acting on an atomic alphabet of symbols. So, for example, the pattern “the dog” produces a match only when, in the data being considered, the symbol “the” is followed by the symbol “dog.” This represents the operation of concatenation or “and.” The pattern “the (dog|cat)” illustrates the “or” operation, i.e., the pattern matches either the string “the dog” or “the cat.” The operation of “classing” is also possible. So, for example, a “pet” class may be defined as either “dog” or “cat:”

[0014] <animal>::=(dog|cat)

[0015] Then, subsequent regular expressions can make use of this class, for example, the pattern: “the <pet>.” A wide variety of extensions to regular expressions exist, for example, restrictions on where in a document a pattern is found, or restrictions on the length of repeated sequences in a regular expression. In accordance with an illustrative embodiment of the invention, the term “regular expression” is taken to mean any form of pattern that is matchable in the flex, lex, or perl programming languages, although the invention is not limited thereto. The programming languages flex and lex are described in J. R. Levine et al., “Lex & Yacc,” 1992, the disclosure of which is incorporated by reference herein. The programming language perl is described in L. Wall et al., “Programming Perl,” 1996, the disclosure of which is incorporated by reference herein. Similarly, in accordance with such an illustrative embodiment, the term “matching” refers to the processes by which these programs match their input.

[0016] In accordance with an embodiment of the invention, when an information-bearing regular expression is matched, an action is taken to present the information in an appropriate way. There are two main types of regular expressions that may be used in this particular embodiment: trigger prefixes and trigger suffixes.

[0017] A trigger prefix is a characteristic phrase that typically precedes a piece of information, for example, in a voice mail message, “give me a call back at” is a trigger phrase that precedes a phone number.

[0018] A trigger suffix is a phrase that typically follows a key piece of information, even when a trigger prefix is not present. For example, the phrase “talk to you later bye” is often a post-facto signal that a phone number has been provided, when the words immediately preceding the phrase are a sequence of numbers.

[0019] In this embodiment of the invention, trigger prefixes and suffixes may be used either separately, or combined together into larger composite patterns. The operation of word classing is also inherent in this embodiment of the invention. For example, a set of personal names such as those found in a phone book may be identified a a “person-name” class. Subsequently, patterns of the form “Hi, it's <person-name>+” can be matched, and the words matching the “person-name” tokens can be displayed as the caller. It is to be understood by those skilled in the art that there are numerous ways of combining trigger prefixes and suffixes, word classes, and other pattern-matching operations, such as the use of multiple states, each with its own set of matchable patterns (as may be done in flex) in order to identify and extract information.

[0020] In addition to being used as a stand-alone method for information extraction, regular expressions can be in combination with statistical techniques. For example, the existence of a pattern such as “Hi <person-name>, it's <person-name>” can be used as a feature in a maximum-entropy word-tagging system.

[0021] Referring now to FIG. 1, a flow diagram illustrates an information extraction methodology according to an embodiment of the present invention. As shown in FIG. 1, the methodology 10 begins by obtaining the input data 12 to be processed. As mentioned above, the input data is a sequence of discrete symbols or a document, such as may be representative of text and/or a transcribed spoken message.

[0022] In step 14, the input data is normalized. This process may include standardizing any characteristics of the input that are irrelevant to, or a hindrance to, information extraction. An example of normalization, for text input, is to change all the letters in the text stream to lower-case and to replace multiple blank spaces between words by a single blank space. This makes subsequent pattern matching easier.

[0023] By way of example, the following is a sample flex program for normalizing text input: %{ #include <iostream.h> #include <ctype.h> %} %option noyywrap %option never-interactive ws [\t]+ %% - {cout <<“”;} [!\.@,“()?] {;} \<[{circle over ( )}\>]*\>{ws}* {;} {ws} {cout<<“”;} . {cout<<char(tolower(*yytext));} %% main() { yylex(); }

[0024] In step 16, one or more previously-stored word (or, in general, one or more symbols) lists are used to identify and mark occurrences of words that belong to certain classes. By way of example, such a class-annotation operation may include marking all proper names by prefixing them with an “!” mark.

[0025] By way of example, the following is a sample C++ program for annotating names identified in a normalized text stream: #include <iostream.h> #include <fstream.h> #include <stdlib.h> #include <set> Hmnclude <string> main() { set<string>name; ifstream namesin(“../data/person_names”); // a text file listing names if (!namesin) { cout << “Unable to find ../data/person_names\n”; exit(1); } while (!namesin.eof()) { string s; namesin>>s>>ws; name.insert(s); } namesin.close(); while (!cin.eof()) { string s; cin>>s>>ws; if (name.count(s)) cout<<“!”<<s<<“”; else cout<<s<<“”; } }

[0026] In step 18, the normalized and class-annotated text is read by a regular-expression matching program, and the information-bearing portions of the text are analyzed and extracted. In a preferred embodiment, the regular expressions are specified in and matched by a specialized regular expression matching program, such as may be implemented in flex. In this process, it is understood that all the mechanisms available in such a programming language may be used. These include the use of special start states, backtracking, context-sensitive matching, and embedded special-purpose “C” code.

[0027] Specifically, the matching operation in step 18 takes the normalized, class-annotated input data and identifies the regular expressions in the data by comparing the data to previously-stored regular expressions. These previously-stored regular expressions may include, for example, trigger prefixes, trigger suffixes, word classes, and other matchable patterns. When a match occurs, the structure of the regular expression is analyzed to identify the information-bearing portion of the expression. The information is then extracted from the expression.

[0028] By way of example, the following is a sample flex program for identifying caller names and phone numbers in a transcribed voice mail messages. As is evident, the program enumerates a plurality of regular expressions, categorized as PHONE_NUMBER_STATE, NAME_STATE, EXTENDED_NAME_STATE, and TERMINATION_STATE, that are considered during the matching step 18:

[0029] %{

[0030] #include <iostream.h>

[0031] #include <string.h>

[0032] const char *number_type;

[0033] const char *tl=“tieline”;

[0034] const char *extension=“extension”;

[0035] const char *pager=pager”;

[0036] const char *fax=“fax number”;

[0037] const char *none=“”;

[0038] char number_buff[10000];

[0039] %}

[0040] %option noyywrap

[0041] %option never-interactive

[0042] /* many patterns like IN-GENERIC_NAME-AT-DIGIT+unaccounted for */

[0043] spelled digit

[0044] ((zero oh|one|two|three|four|five|six|seven|eight|nine|hundred|thousand|ten|eleven|twelve|thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen|twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety|hundred)[ ]?)

[0045] numeric digit ((1|2|3|4|5|6|7|8|9|10)[ ]?)

[0046] digit ([ ]?{spelled_digit}|[ ]?{numeric_digit})

[0047] phone_number ((country[ ]code[ ]{digit}{2,})?(toll[ ]free)?(area[ ]|area[ ]code[ ])?{digit}{2,} ((or[ ]|that's[ ]|sorry[ ])|{digit}{2,})?(option[ ]{digit}+)?(extension[ ]{digit}{2,})?) tie_line ([ ]?(tie[ ]line|tieline)([ ]number)?)

[0048] name ![a-z′]+

[0049] %x PHONE_NUMBER_STATE

[0050] %x NAME_STATE

[0051] %x EXTENDED_NAME_STATE

[0052] %x TERMINATION_STATE

[0053] %%

[0054] (1|2|3|4|5|6|7|8|9|0)+“:” {cout<<yytext<<endl;/* get header */}

[0055] {digit}({digit}|“extension”){3,} {strepy(number_buff, yytext); BEGIN TERMINATION_STATE;}

[0056] <TERMINATION_STATE>“thank you”|

[0057] <TERMINATION_STATE>“thanks”|

[0058] <TERMINATION_STATE>“take care”|

[0059] <TERMINATION_STATE>“bye”|

[0060] <TERMINATION_STATE>“talk to you”|

[0061] <TERMINATION_STATE>“okay bye”|

[0062] <TERMINATION_STATE>“have a “(good|great)” day” {cout<<“Number:” <<number_buff<<endl; BEGIN INITIAL;}

[0063] <TERMINATION_STATE><<EOF>> {cout<<“Number:”number_buff<<endl; BEGIN INITIAL;}

[0064] <TERMINATION_STATE>.{unput(*yytext); BEGIN INITIAL;}

[0065] “on extension”|

[0066] “at extension”|

[0067] “extension”|

[0068] “extension is” {number_type=extension; BEGIN PHONE_NUMBER_STATE;}

[0069] “my”{tie_line} “is”|

[0070] “my”{tie_line}“here is”|

[0071] {tie_line}“is”|

[0072] “{tie_line}” “{number_type=tl; BEGIN PHONE_NUMBER_STATE;}

[0073] “again is”|

[0074] “again”|

[0075] “back”|

[0076] “call me”|

[0077] “call me at”|

[0078] “call me back at”|

[0079] “call me”[a-zA-Z]+“at”|

[0080] “call me back on”|

[0081] “call me on”|

[0082] “call back at”|

[0083] “call back on”|

[0084] “give me a buzz”|

[0085] “give me buzz at”|

[0086] “give me a holler”|

[0087] “give me a holler at”|

[0088] “give me a ring”|

[0089] “give me a call”|

[0090] “give me a ring at”|

[0091] “give me a call at”|

[0092] “give me a call at home”|

[0093] “give me a call at work”|

[0094] “give me a call at your convenience”|

[0095] “give me a call back at”|

[0096] “give me a call back on”|

[0097] “give me a call back with that information at”|

[0098] “give me a call if you get a chance”|

[0099] “give me a call please”|

[0100] “give me a call please at”|

[0101] “give me a call when you get a chance”|

[0102] “give me a call when you can”|

[0103] “give me a call when you can please”|

[0104] “give us a call”|

[0105] “give us a call at”|

[0106] “here”|

[0107] “i can be reached at”|

[0108] “i am at”|

[0109] “i'm at”|

[0110] “i'll be at”|

[0111] “i'm on”|

[0112] “leave me a message”|

[0113] “leave me a message at”|

[0114] “my number is”|

[0115] “my number here is”|

[0116] “my number here in”(!?[a-z]+[ ])“is”|

[0117] “my number's”|

[0118] “my phone number's”|

[0119] “number again is”|

[0120] “number at home is”|

[0121] “number at work is”|

[0122] “number here is”|

[0123] “number is”|

[0124] “number's”|

[0125] “outside line”|

[0126] “outside”|

[0127] “please call”|

[0128] “phone”|

[0129] “please return our call at”|

[0130] “reach met at”|

[0131] “returning your call”|

[0132] “talk to you later”|

[0133] “try me at”|

[0134] “try me at this number”|

[0135] “you could reach us at”|

[0136] “when you have a chance”|

[0137] “when you get a chance” {number_type=none; BEGIN PHONE_NUMBER_STATE;}

[0138] “fax number is”|

[0139] “my fax number's {number_type=fax; BEGIN PHONE_NUMBER_STATE;}

[0140] “my pager”|

[0141] “my pager is”|

[0142] “give me a page”|

[0143] “give me a page at”|

[0144] “page me at”|

[0145] “page me”|

[0146] “page number” {number_type=pager; BEGIN PHONE_NUMBER_STATE;}

[0147] <PHONE_NUMBER_STATE>{phone_number} {cout<<“Number:”<<number_type

[0148] <<yytext<<endl; BEGIN INITIAL;}

[0149] <PHONE_NUMBER_STATE>. {unput(*yytext); BEGIN INITIAL;}

[0150] “it's”{phone_number}|

[0151] “on”{phone_number} {char *c=strchr(yytext, ‘ ’); c++; cout<<“Number:”<<c<<endl;}

[0152] “it's me”|

[0153] “it's just me” {cout<<“Name: me”<<endl;}

[0154] “this is your wife” {cout<<“Name: wife”<<endl;}

[0155] “this is receiving” {cout<<“Name: receiving”<<endl;}

[0156] “this is the mail room” {cout<<“Name: the mail room”<<endl;}

[0157] ^ ({name}[ ]){2,3} {cout<<“Name:”<<(strchr(yytext, ‘ ’)+1)<<endl;}

[0158] “hi”|“hey”|“hello”){name}“ “{name}” “({name}””)? {char *c=strchr(yytext, ‘ ’);

[0159] c=strchr(c+1, ‘ ’); cout<<“Name:”<<(c+1)<<endl;}

[0160] “good morning “{name}””|

[0161] “yeah “{name}””|

[0162] ({name}[ ])? “this is”|

[0163] {name}“it's”|

[0164] {name}“hi”|

[0165] “hi i'm”|

[0166] “my name is”|

[0167] “my name's”|”“the name is”

[0168] “the name's”|

[0169] “hey”({name}[ ])? “this”(“is”)?|

[0170] “hi”({name}[ ])? “this”(“is”)?|

[0171] ({name}[ ])? “hi it's”|

[0172] ({name}[ ])? “hey it's”|

[0173] ({name}[ ])? “how you doing it's”|

[0174] {name}“this” {BEGIN NAME_STATE;}

[0175] <NAME_STATE>({name}[ ])+{cout<<“Name:”<<yytext <<endl;

[0176] number_type=none;

[0177] BEGIN PHONE_NUMBER_STATE;}

[0178] <NAME_STATE>(“me”|“mom”|“your sis”|“your sister”|“your wife”|“your brother”|“your father”|“your husband”) {cout<<“Name:”<<yytext<<endl; BEGIN INITIAL;}

[0179] <NAME_STATE>({name}[ ])+“from”|

[0180] <NAME_STATE>({name}[ ])+“calling from”|

[0181] <NAME_STATE>({name}[ ])+“i'm calling from”|

[0182] <NAME_STATE>({name}[ ])+“with”|

[0183] <NAME_STATE>({name}[ ])+“i'm with”|

[0184] <NAME_STATE>({name}[ ])+“at”|

[0185] <NAME_STATE>({name}[ ])+“over at”|

[0186] <NAME_STATE>({name}[ ])+“down at”|

[0187] <NAME_STATE>({name}[ ])+“over in”|

[0188] <NAME_STATE>({name}[ ])+“up in”|

[0189] <NAME_STATE>({name}[ ])+“down in”|

[0190] <NAME_STATE>({name}[ ])+“up on”|

[0191] <NAME_STATE>({name}[ ])+“down on”|

[0192] <NAME_STATE>({name}[ ])+“in” {cout<<“Name:”<<yytext; BEGIN EXTENDED_NAME_STATE;}

[0193] <NAME_STATE>. {unput(*yytext); BEGIN INITIAL;}

[0194] <EXTENDED_NAME_STATE>“i'm”|

[0195] <EXTENDED_NAME_STATE>“i”|

[0196] <EXTENDED_NAME_STATE>“i've”|

[0197] <EXTENDED_NAME_STATE>“i'd”|

[0198] <EXTENDED_NAME_STATE>“my”|

[0199] <EXTENDED_NAME_STATE>“it's”|

[0200] <EXTENDED_NAME_STATE>“it is”|

[0201] <EXTENDED_NAME_STATE>“we”|

[0202] <EXTENDED_NAME_STATE>“when”|

[0203] <EXTENDED_NAME_STATE>“you”|

[0204] <EXTENDED_NAME_STATE>“calling”|

[0205] <EXTENDED_NAME_STATE>“now”|

[0206] <EXTENDED_NAME_STATE>“a”|

[0207] <EXTENDED_NAME_STATE>“if”|

[0208] <EXTENDED_NAME_STATE>“give”|

[0209] <EXTENDED_NAME_STATE>“their”|

[0210] <EXTENDED_NAME_STATE>“and”|

[0211] <EXTENDED_NAME_STATE>“notifying”|

[0212] <EXTENDED_NAME_STATE>“returning”|

[0213] <EXTENDED_NAME_STATE>“sorry”|

[0214] <EXTENDED_NAME_STATE>“can”|

[0215] <EXTENDED_NAME_STATE>“got”|

[0216] <EXTENDED_NAME_STATE>“earlier”|

[0217] <EXTENDED_NAME_STATE>“your”|

[0218] <EXTENDED_NAME_STATE>“just”|

[0219] <EXTENDED_NAME_STATE>“that”|

[0220] <EXTENDED_NAME_STATE>“could”|

[0221] <EXTENDED_NAME_STATE>“would”|

[0222] <EXTENDED_NAME_STATE>“before”|

[0223] <EXTENDED_NAME_STATE>“thanks”|

[0224] <EXTENDED_NAME_STATE>“thank”|

[0225] <EXTENDED_NAME_STATE>“wanted”|

[0226] <EXTENDED_NAME_STATE>“following”|

[0227] <EXTENDED_NAME_STATE>“regarding”|

[0228] <EXTENDED_NAME_STATE>“may”|

[0229] <EXTENDED_NAME_STATE>“let”|

[0230] <EXTENDED_NAME_STATE>“he”|

[0231] <EXTENDED_NAME_STATE>“about”|

[0232] <EXTENDED_NAME_STATE>“again”|

[0233] <EXTENDED_NAME_STATE>“wanting”|

[0234] <EXTENDED_NAME_STATE>“appreciate”|

[0235] <EXTENDED_NAME_STATE>“was”|

[0236] <EXTENDED_NAME_STATE>“we're”|

[0237] <EXTENDED_NAME_STATE>“or”|

[0238] <EXTENDED_NAME_STATE>“you've”|

[0239] <EXTENDED_NAME_STATE>“right”|

[0240] <EXTENDED_NAME_STATE>“first”|

[0241] <EXTENDED_NAME_STATE>[ ]?“tieline”|

[0242] <EXTENDED_NAME_STATE>[ ]?“extension”|

[0243] <EXTENDED_NAME_STATE>“ ” {digit}|

[0244] <EXTENDED_NAME_STATE>“please” {cout<<endl; char *q=yytext+strlen(yytext); while (q>yytext) unput(*--q); number_type=none; BEGIN PHONE_NUMBER_STATE;}

[0245] <EXTENDED_NAME_STATE>. {ECHO;}

[0246] .{;}

[0247] %%

[0248] main( )

[0249] {

[0250] yylex( );

[0251] cout<<endl;

[0252] }

[0253] Thus, by way of example, if the voice message input to the methodology 10 contains the phrase “call me back at 555-1234,” the above program determines that the phrase “call me back at” matches one of the enumerated expressions. Then, the information associated with the phrase “call me back at,” namely, “555-1234,” is identified as the information-bearing portion of the expression, and extracted.

[0254] The extracted output data 20 may then be presented to a user. For example, this may include displaying the information to the user on a display or converting the information to audio and audibly presenting the information to the user in accordance with an output speaker. The extracted data may also be used to take some other specified action, e.g., place extracted data in an electronic phone book, notify user of a message from a particularly important person, notify a user of a message on a particular topic, etc.

[0255] Referring now to FIG. 2, a block diagram illustrates a generalized hardware architecture of a data processing system suitable for implementing an information extraction methodology according to the present invention. As shown, the system 30 includes a data capture device 32, a data signal processor 34, a data output device 36, and memory 38.

[0256] The data capture device 32 generally obtains the data stream that is to be processed by the system 30. The device's specific structure and operations depend on the application in which the system is employed. For example, in a voice mail application, the data capture device may be a speech processing device capable of taking an audio stream recorded in accordance with a voice mail system and converting or transcribing the audio stream to a discrete data or symbol sequence. The device may, for example, utilize conventional speech recognition techniques or some other known transcription techniques. In a text based application, the device may be a digital scanner capable of converting a text document into a discrete data or symbol sequence. The device may, for example, utilize conventional optical character recognition techniques. Of course, depending on the data type, the data capture device may take on alternate forms.

[0257] The data signal processor 34 generally performs and/or controls the operations of the methodologies of the present invention, in conjunction with the memory 38. That is, the signal processor performs and/or controls the steps depicted in the flow diagram of FIG. 1.

[0258] It is to be appreciated that the term “processor” as used herein is intended to include any processing device, such as, for example, one that includes a CPU (central processing unit) or other processing circuitry. For example, the processor may be a digital signal processor, as is known in the art. Also the term “processor” may refer to one or more individual processors. The term “memory” as used herein is intended to include any memory devices associated with a processor or CPU, such as, for example, RAM, ROM, a fixed memory device (e.g., hard drive), a removable memory device (e.g., diskette), flash memory, etc. It is to be understood that the previously-generated word classes and regular expressions used in the class-annotation and expression matching operations, described above in accordance with the invention, may be stored in memory 38 and accessed when required.

[0259] Accordingly, one or more computer software programs including instructions or code for performing the methodologies of the invention, as described herein, may be stored in one or more of the associated memory devices (e.g., ROM, fixed or removable memory) and, when ready to be utilized, loaded in part or in whole (e.g., into RAM) and executed by a CPU.

[0260] The data output device 36 generally presents the data extracted from the input data stream to a user. Again, the device's specific structure and operations depend on the application in which the system is employed. For example, in a voice mail application, the data capture device may be an audio output system capable of taking the extracted discrete data and converting the data to a form to be audibly output to the user. The device may, for example, utilize conventional text-to-speech or other speech synthesis techniques. Such techniques may also be used in a text based application. Alternatively, the device may be a display for visually presenting the extracted data to the user. Of course, depending on the data type, the data output device may take on alternate forms.

[0261] It is to be understood that the elements illustrated in the figures may be implemented in various forms of hardware, software, or combinations thereof, e.g., one or more digital signal processors with associated memory, application specific integrated circuit(s), functional circuitry, one or more appropriately programmed general purpose digital computers with associated memory, etc. For example, the information extraction methodologies of the invention may be implemented in various personal computing devices. Given the teachings of the invention provided herein, one of ordinary skill in the related art will be able to contemplate other implementations of the elements of the invention.

[0262] Although illustrative embodiments of the present invention have been described herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various other changes and modifications may be effected therein by one skilled in the art without departing from the scope or spirit of the invention. 

What is claimed is:
 1. A method of automatically processing an input sequence of data symbols, the method comprising the steps of: identifying at least one regularly identifiable expression in the input sequence of data symbols; identifying at least a portion of information associated with the at least one regularly identifiable expression; and extracting the portion of information.
 2. The method of claim 1, wherein the regularly identifiable expression identifying step comprises comparing the input sequence of data symbols to one or more previously-stored regularly identifiable expressions to determine if there is a match between a portion of the input sequence and at least one of the previously-stored regularly identifiable expressions.
 3. The method of claim 1, further comprising the step of normalizing the input sequence of data symbols prior to identifying the regularly identifiable expression.
 4. The method of claim 1, further comprising the step of identifying one or more classes of data symbols in the input sequence prior to identifying the regularly identifiable expression.
 5. The method of claim 1, wherein the at least one regularly identifiable expression comprises a characteristic phrase that typically precedes a particular portion of information.
 6. The method of claim 1, wherein the at least one regularly identifiable expression comprises a characteristic phrase that typically follows a particular portion of information.
 7. The method of claim 1, wherein the extracted portion of information is used to take a specified action.
 8. The method of claim 1, wherein the extracted portion of information is at least one of visually and audibly presented to the user.
 9. The method of claim 1, wherein the regularly identifiable expression identifying step is performed in accordance with one or more programs written in one of the flex, lex, and perl programming language.
 10. The method of claim 1, wherein the input sequence of data symbols is representative of at least one of text data, transcribed spoken data, deoxyribonucleic acid sequence data, ribonucleic acid sequence data, amino-acid sequence data, audio sequence data, and video sequence data.
 11. The method of claim 1, wherein the input sequence of data symbols is representative of a voice mail message.
 12. Apparatus for automatically processing an input sequence of data symbols, the apparatus comprising: at least one processor operative to: (i) identify at least one regularly identifiable expression in the input sequence of data symbols; (ii) identify at least a portion of information associated with the at least one regularly identifiable expression; and (iii) extract the portion of information; and memory, operatively coupled to the at least one processor, for storing at least a portion of results associated with the identifying and extracting operations.
 13. The apparatus of claim 12, wherein the regularly identifiable expression identifying operation comprises comparing the input sequence of data symbols to one or more regularly identifiable expressions, previously stored in the memory, to determine if there is a match between a portion of the input sequence and at least one of the previously-stored regularly identifiable expressions.
 14. The apparatus of claim 12, wherein the at least one processor is further operative to normalize the input sequence of data symbols prior to identifying the regularly identifiable expression.
 15. The apparatus of claim 12, wherein the at least one processor is further operative to identify one or more classes of data symbols in the input sequence prior to identifying the regularly identifiable expression.
 16. The apparatus of claim 12, wherein the at least one regularly identifiable expression comprises a characteristic phrase that typically precedes a particular portion of information.
 17. The apparatus of claim 12, wherein the at least one regularly identifiable expression comprises a characteristic phrase that typically follows a particular portion of information.
 18. The apparatus of claim 12, wherein the extracted portion of information is used to take a specified action.
 19. The apparatus of claim 12, wherein the extracted portion of information is at least one of visually and audibly presented to the user.
 20. The apparatus of claim 12, wherein the regularly identifiable expression identifying operation is performed in accordance with one or more programs written in one of the flex, lex, and perl programming language.
 21. The apparatus of claim 12, wherein the input sequence of data symbols is representative of at least one of text data, transcribed spoken data, deoxyribonucleic acid sequence data, ribonucleic acid sequence data, amino-acid sequence data, audio sequence data, and video sequence data.
 22. The apparatus of claim 12, wherein the input sequence of data symbols is representative of a voice mail message.
 23. An article of manufacture for use in automatically processing an input sequence of data symbols, comprising a machine readable medium containing one or more programs which when executed implement the steps of: identifying at least one regularly identifiable expression in the input sequence of data symbols; identifing at least a portion of information associated with the at least one regularly identifiable expression; and extracting the portion of information.
 24. Apparatus for automatically processing an input sequence of data symbols, the apparatus comprising: a data capture device for obtaining the input sequence of data symbols; at least one processor, operatively coupled to the data capture device, operative to: (i) identify at least one regularly identifiable expression in the input sequence of data symbols; (ii) identify at least a portion of information associated with the at least one regular expression; and (iii) extract the portion of information; memory, operatively coupled to the at least one processor, for storing at least a portion of results associated with the identifying and extracting operations; and a data output device, operatively coupled to the at least one processor, for presenting the extracted portion of information to a user.
 25. A method of automatically processing an input document, the method comprising the steps of: identifying one or more regular expressions in the input document by comparing the input document to one or more previously-stored regular expressions to determine if there is a match between a portion of the input document and at least one of the previously-stored regular expressions; and identifying at least a portion of information associated with the at least one regular expression for extraction. 